

/**
 *  dock竖屏时的宽度
 */
extern const CGFloat RWDockPW;

/**
 *  dock横屏时的宽度
 */
extern const CGFloat RWDockLW;

/**
 *  屏幕竖屏时的宽度
 */
extern const CGFloat RWScreenPW;

/**
 *  屏幕横屏时的宽度
 */
extern const CGFloat RWScreenLW;

/**
 *  横向
 */
#define Lanscape ([UIScreen mainScreen].bounds.size.width == RWScreenLW)

/**
 *  竖向
 */
#define Portrait ([UIScreen mainScreen].bounds.size.width == RWScreenPW)
/**
 *  根据输入的参数来返回颜色
 */
#define RWColor(r,g,b) [UIColor colorWithRed:(r)/255.0 green:(g)/255.0 blue:(b)/255.0 alpha:1.0]

/**
 *  随机色
 */
#define RWRandomColor RWColor(arc4random_uniform(255),arc4random_uniform(255),arc4random_uniform(255))

extern  NSString *const RWTabBarDidSelectNotification;
extern  NSString *const RWTabBarSelectIndex;

